package com.minivision.sdktestdemo.ui.custom;

import java.util.List;

/**
 * Created by Administrator on 2016/7/31.
 */

public class MusicResponse {
    /**
     * code : 0
     * status : success
     * msg : 数据请求成功
     * data : {"current_page":"1","keyword":"告白气球-周杰伦","total_rows":2,"total_page":1,"page_size":"3","data":[{"filename":"「么凹」 - 告白气球（Cover 周杰伦）","songname":"告白气球（Cover 周杰伦）","m4afilesize":892900,"filesize":3481876,"bitrate":128,"album_name":"","isnew":0,"duration":218,"singername":"「么凹」","extname":"mp3","hash":"87afe3fe0f8e2c1ec6749ceaa91578d9","othername":""},{"filename":"香蕉 - 告白气球（Cover 周杰伦）","songname":"告白气球（Cover 周杰伦）","m4afilesize":883688,"filesize":3460328,"bitrate":128,"album_name":"","isnew":0,"duration":216,"singername":"香蕉","extname":"mp3","hash":"dc5e8c7fa43c7900445f1d851eb79718","othername":""}]}
     */

    private int code;
    private String status;
    private String msg;
    /**
     * current_page : 1
     * keyword : 告白气球-周杰伦
     * total_rows : 2
     * total_page : 1
     * page_size : 3
     * data : [{"filename":"「么凹」 - 告白气球（Cover 周杰伦）","songname":"告白气球（Cover 周杰伦）","m4afilesize":892900,"filesize":3481876,"bitrate":128,"album_name":"","isnew":0,"duration":218,"singername":"「么凹」","extname":"mp3","hash":"87afe3fe0f8e2c1ec6749ceaa91578d9","othername":""},{"filename":"香蕉 - 告白气球（Cover 周杰伦）","songname":"告白气球（Cover 周杰伦）","m4afilesize":883688,"filesize":3460328,"bitrate":128,"album_name":"","isnew":0,"duration":216,"singername":"香蕉","extname":"mp3","hash":"dc5e8c7fa43c7900445f1d851eb79718","othername":""}]
     */

    private DataBeanResponse data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanResponse getData() {
        return data;
    }

    public void setData(DataBeanResponse data) {
        this.data = data;
    }

    public static class DataBeanResponse {
        private String current_page;
        private String keyword;
        private int total_rows;
        private int total_page;
        private String page_size;
        /**
         * filename : 「么凹」 - 告白气球（Cover 周杰伦）
         * songname : 告白气球（Cover 周杰伦）
         * m4afilesize : 892900
         * filesize : 3481876
         * bitrate : 128
         * album_name :
         * isnew : 0
         * duration : 218
         * singername : 「么凹」
         * extname : mp3
         * hash : 87afe3fe0f8e2c1ec6749ceaa91578d9
         * othername :
         */

        private List<DataBean> data;

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getKeyword() {
            return keyword;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public int getTotal_rows() {
            return total_rows;
        }

        public void setTotal_rows(int total_rows) {
            this.total_rows = total_rows;
        }

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public String getPage_size() {
            return page_size;
        }

        public void setPage_size(String page_size) {
            this.page_size = page_size;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            private String filename;
            private String songname;
            private int m4afilesize;
            private int filesize;
            private int bitrate;
            private String album_name;
            private int isnew;
            private int duration;
            private String singername;
            private String extname;
            private String hash;
            private String othername;

            public String getFilename() {
                return filename;
            }

            public void setFilename(String filename) {
                this.filename = filename;
            }

            public String getSongname() {
                return songname;
            }

            public void setSongname(String songname) {
                this.songname = songname;
            }

            public int getM4afilesize() {
                return m4afilesize;
            }

            public void setM4afilesize(int m4afilesize) {
                this.m4afilesize = m4afilesize;
            }

            public int getFilesize() {
                return filesize;
            }

            public void setFilesize(int filesize) {
                this.filesize = filesize;
            }

            public int getBitrate() {
                return bitrate;
            }

            public void setBitrate(int bitrate) {
                this.bitrate = bitrate;
            }

            public String getAlbum_name() {
                return album_name;
            }

            public void setAlbum_name(String album_name) {
                this.album_name = album_name;
            }

            public int getIsnew() {
                return isnew;
            }

            public void setIsnew(int isnew) {
                this.isnew = isnew;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public String getSingername() {
                return singername;
            }

            public void setSingername(String singername) {
                this.singername = singername;
            }

            public String getExtname() {
                return extname;
            }

            public void setExtname(String extname) {
                this.extname = extname;
            }

            public String getHash() {
                return hash;
            }

            public void setHash(String hash) {
                this.hash = hash;
            }

            public String getOthername() {
                return othername;
            }

            public void setOthername(String othername) {
                this.othername = othername;
            }
        }
    }
}